package com.geostar.constructionland.common.entity.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author yelll
 * @since 2020-5-25 17:
 * 平差算法构建内容
 *
 * @author zhu jiacheng
 * @date 2020/7/22 10:39
 * 增加Swagger注释，迁移到common基础包中
 **/
@Data
@TableName("version_adjust_agr")
@ApiModel("平差算法构建内容")
public class AdjustAgrVersion {

    @TableId(value = "adjust_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty("平差ID")
    public String adjustId;

    @ApiModelProperty("平差类型")
    @TableField(value = "adjust_type")
    public String adjustType;

    @ApiModelProperty("平差版本")
    @TableField(value = "adjust_version")
    public String adjustVersion;

    @ApiModelProperty("平差处理类")
    @TableField(value = "adjust_class")
    public String adjustClass;

    @ApiModelProperty("平差阈值")
    @TableField(value = "adjust_threshold")
    public float adjustThreshold;

    @ApiModelProperty("平差最小单位")
    @TableField(value = "adjust_unit")
    public double adjustUnit;

    @ApiModelProperty("修改时间")
    @TableField(value = "modified_time")
    public Date modifiedTime;

    @ApiModelProperty("小数省略位")
    @TableField(value = "iScale")
    public int iScale;
}
